package com.cadre.system.domain.officer;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

@TableName("WARNING_INDEX")
public class WarningIndex {

    private static final long serialVersionUID = 1;
    @TableId
    private Long id;
    private Short type; //预警类型 : 0,基本信息 1，任职信息 2，奖惩信息 3，职数配备 4,考核信息 5，统计范围（45未启用）
    private String key;  //分类
    private String value;   //内容
    private String rank;   //职级(任职信息中使用）
    private Short isShow;   //是否展示
    private Date updateTime;    //更新时间
    //表里没有这个字段添加注解
    @TableField(exist = false)
    private Long serial;    //排序值(1开始)

    public void setId(Long id) {
        this.id = id;
    }

    public void setType(Short type) {
        this.type = type;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public void setRankl(String rank) {
        this.rank = rank;
    }

    public void setIsShow(Short isShow) {
        this.isShow = isShow;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public void setSerial(Long serial) {
        this.serial = serial;
    }

    public Long getId() {
        return id;
    }

    public Short getType() {
        return type;
    }

    public String getKey() {
        return key;
    }

    public String getValue() {
        return value;
    }

    public String getrank() {
        return rank;
    }

    public Short getIsShow() {
        return isShow;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public Long getSerial() {
        return serial;
    }
}
